setenv bootimg uImage
setenv bootimgaddr 0x80000
setenv ramdisk ramdisk.img.gz
setenv ramdiskaddr 0x2000000
setenv fdt bcm2711-rpi-4-b.dtb
setenv fdtaddr 0x2600000

setenv bootargs "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 video=HDMI-A-1:720x576M@50 smsc95xx.macaddr=DC:A6:32:87:DF:87 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 initrd=${ramdiskaddr} root=/dev/ram rw init=/init console=tty1 console=ttyS0,115200 hardware=rpi4b bootslots=1 ohos.required_mount.system=/dev/block/mmcblk0p2@/usr@ext4@ro,barrier=1@wait,required ohos.required_mount.vendor=/dev/block/mmcblk0p3@/vendor@ext4@ro,barrier=1@wait,required"

fatload mmc 0:1 ${bootimgaddr} ${bootimg}
fatload mmc 0:1 ${ramdiskaddr} ${ramdisk}
fatload mmc 0:1 ${fdtaddr} ${fdt}
bootm ${bootimgaddr} ${ramdiskaddr} ${fdtaddr}
